package pojo;

import lombok.Data;

import java.io.Serializable;

@Data
public class Hero implements Serializable {
    private int id;
    private String name;
    private Skill skill;

    public Hero(int id, String name, Skill skill) {
        this.id = id;
        this.name = name;
        this.skill = skill;
    }

    public Hero() {
    }
}
